package com.scs.application.modules.adm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 * 耗材准入申请单明细
 * </p>
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材准入申请单明细")
@TableName("adm_matr_apply_item")
public class MatrApplyItem extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "外键",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String applyId;

    @EntityFieldAnnotation(
            text = "耗材ID",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String matrId;

    @EntityFieldAnnotation(
            text = "品名",
            length = "100",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String matrName;

    @EntityFieldAnnotation(
            text = "品规",
            length = "100",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String matrSpec;

    @EntityFieldAnnotation(
            text = "",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String categoryId;

    @EntityFieldAnnotation(
            text = "",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String categoryName;

    @EntityFieldAnnotation(
            text = "",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String mfgName;

    @EntityFieldAnnotation(
            text = "单品单位",
            length = "10",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String skuUnit;

    @EntityFieldAnnotation(
            text = "预估用量/年",
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private Double qtyYear;

    @EntityFieldAnnotation(
            text = "预估价格",
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private Double skuPrice;


    // gmt_create ,在父类中处理

    @EntityFieldAnnotation(
            text = "科室要求",
            length = "200",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String deptRemark;

    @EntityFieldAnnotation(
            text = "中标价格（参考价）",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double officialPrice;

    @EntityFieldAnnotation(
            text = "中标价来源",
            length = "10",
            not_null = false,
            default_value = "",
            comment = "省网，市网"
    )
    private String officialPriceSrc;

    @EntityFieldAnnotation(
            text = "最高限价",
            length = "",
            not_null = false,
            default_value = "",
            comment = "0或null表示不限制"
    )
    private Double skuPriceMax;

    @EntityFieldAnnotation(
            text = "最低限价",
            length = "",
            not_null = false,
            default_value = "",
            comment = "0或null表示不限制"
    )
    private Double skuPriceMin;

    @EntityFieldAnnotation(
            text = "送货地址",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String deliverAddress;

    @EntityFieldAnnotation(
            text = "询价要求",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String inquiryRemark;

    @EntityFieldAnnotation(
            text = "中标供应商代码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "MSCM"
    )
    private String supplierCode;

    @EntityFieldAnnotation(
            text = "中标供应商名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = "MSCM"
    )
    private String supplierName;

    @EntityFieldAnnotation(
            text = "中标采购价格",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private Double skuPricePurchase;

    @EntityFieldAnnotation(
            text = "销售价格",
            length = "",
            not_null = false,
            default_value = "",
            comment = "默认采购价格"
    )
    private Double skuPriceSell;

    @EntityFieldAnnotation(
            text = "中标价来源",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "省网，市网"
    )
    private String skuOfficialPriceSrc;

    @EntityFieldAnnotation(
            text = "adm_matr_audit.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String auditId;

    @EntityFieldAnnotation(
            text = "adm_matr_audit_item.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String auditItemId;


    @EntityFieldAnnotation(
            text = "adm_matr_audit.flow_status",
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String auditFlowStatusText;

    @EntityFieldAnnotation(
            text = "中标号",
            length = "100",
            not_null = false,
            default_value = "",
            comment = "中标号"
    )
    private String bidNo;

    @EntityFieldAnnotation(
            text = "阳光采购代码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "阳光采购代码"
    )
    private String sunpurchaseCode;

    @EntityFieldAnnotation(
            text = "是否阳采",
            length = "",
            not_null = false,
            default_value = "0",
            comment = "1:是,0:否"
    )
    private Boolean flagSunpurchase;
    @EntityFieldAnnotation(
            text = "是否备案采购",
            length = "",
            not_null = false,
            default_value = "0",
            comment = "1:是,0:否"
    )
    private Boolean flagRecordPurchase;

    @EntityFieldAnnotation(
            text = "新品优势",
            length = "200",
            not_null = false,
            default_value = "",
            comment = "新品优势"
    )
    private String advantageRemark;


    @EntityFieldAnnotation(
            text = "欲淘汰耗材ID",
            type = EntityFieldType.LONG,
            length = "",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String eliminateMatrId;

    @EntityFieldAnnotation(
            text = "欲淘汰品名",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String eliminateMatrName;

    @EntityFieldAnnotation(
            text = "欲淘汰品规",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String eliminateMatrSpec;


    @EntityFieldAnnotation(
            text = "使用范围CODEs",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useScopeCodes;

    @EntityFieldAnnotation(
            text = "使用范围names",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useScopeNames;


    @EntityFieldAnnotation(
            text = "用途CODEs",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useCodes;

    @EntityFieldAnnotation(
            text = "用途names",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useNames;

    @EntityFieldAnnotation(
            text = "申购理由CODEs",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useReasonCodes;

    @EntityFieldAnnotation(
            text = "申购理由names",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useReasonNames;

    @EntityFieldAnnotation(
            text = "申购理由其他",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String useReasonOther;

    @EntityFieldAnnotation(
            text = "注册证号",
            length = "50",
            not_null = false,
            default_value = "",
            comment = "注册证号"
    )
    private String certificateNo;

    @EntityFieldAnnotation(
            text = "耗材型号",
            length = "100",
            not_null = false,
            default_value = "",
            comment = "耗材型号"
    )
    private String matrModel;
}
